Integrand size = 23, antiderivative size = 412 \[ \int \sec ^4(c+d x) (a+b \sec (c+d x))^{5/3} \, dx=\frac {3 a \left (18 a^2+97 b^2\right ) (a+b \sec (c+d x))^{2/3} \tan (c+d x)}{1232 b^2 d}+\frac {3 \left (18 a^2+121 b^2\right ) (a+b \sec (c+d x))^{5/3} \tan (c+d x)}{1232 b^2 d}-\frac {9 a (a+b \sec (c+d x))^{8/3} \tan (c+d x)}{77 b^2 d}+\frac {3 \sec (c+d x) (a+b \sec (c+d x))^{8/3} \tan (c+d x)}{14 b d}+\frac {\left (36 a^4+164 a^2 b^2+605 b^4\right ) \operatorname {AppellF1}\left (\frac {1}{2},\frac {1}{2},-\frac {2}{3},\frac {3}{2},\frac {1}{2} (1-\sec (c+d x)),\frac {b (1-\sec (c+d x))}{a+b}\right ) (a+b \sec (c+d x))^{2/3} \tan (c+d x)}{616 \sqrt {2} b^3 d \sqrt {1+\sec (c+d x)} \left (\frac {a+b \sec (c+d x)}{a+b}\right )^{2/3}}-\frac {a \left (18 a^4+79 a^2 b^2-97 b^4\right ) \operatorname {AppellF1}\left (\frac {1}{2},\frac {1}{2},\frac {1}{3},\frac {3}{2},\frac {1}{2} (1-\sec (c+d x)),\frac {b (1-\sec (c+d x))}{a+b}\right ) \sqrt [3]{\frac {a+b \sec (c+d x)}{a+b}} \tan (c+d x)}{308 \sqrt {2} b^3 d \sqrt {1+\sec (c+d x)} \sqrt [3]{a+b \sec (c+d x)}} \]
[Out]
Time = 1.04 (sec) , antiderivative size = 412, normalized size of antiderivative = 1.00, number of steps used = 11, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.304, Rules used = {3950, 4167, 4087, 4092, 3919, 144, 143} \[ \int \sec ^4(c+d x) (a+b \sec (c+d x))^{5/3} \, dx=\frac {3 \left (18 a^2+121 b^2\right ) \tan (c+d x) (a+b \sec (c+d x))^{5/3}}{1232 b^2 d}+\frac {3 a \left (18 a^2+97 b^2\right ) \tan (c+d x) (a+b \sec (c+d x))^{2/3}}{1232 b^2 d}+\frac {\left (36 a^4+164 a^2 b^2+605 b^4\right ) \tan (c+d x) (a+b \sec (c+d x))^{2/3} \operatorname {AppellF1}\left (\frac {1}{2},\frac {1}{2},-\frac {2}{3},\frac {3}{2},\frac {1}{2} (1-\sec (c+d x)),\frac {b (1-\sec (c+d x))}{a+b}\right )}{616 \sqrt {2} b^3 d \sqrt {\sec (c+d x)+1} \left (\frac {a+b \sec (c+d x)}{a+b}\right )^{2/3}}-\frac {a \left (18 a^4+79 a^2 b^2-97 b^4\right ) \tan (c+d x) \sqrt [3]{\frac {a+b \sec (c+d x)}{a+b}} \operatorname {AppellF1}\left (\frac {1}{2},\frac {1}{2},\frac {1}{3},\frac {3}{2},\frac {1}{2} (1-\sec (c+d x)),\frac {b (1-\sec (c+d x))}{a+b}\right )}{308 \sqrt {2} b^3 d \sqrt {\sec (c+d x)+1} \sqrt [3]{a+b \sec (c+d x)}}-\frac {9 a \tan (c+d x) (a+b \sec (c+d x))^{8/3}}{77 b^2 d}+\frac {3 \tan (c+d x) \sec (c+d x) (a+b \sec (c+d x))^{8/3}}{14 b d} \]
[In]
[Out]
Rule 143
Rule 144
Rule 3919
Rule 3950
Rule 4087
Rule 4092
Rule 4167
Rubi steps \begin{align*} \text {integral}& = \frac {3 \sec (c+d x) (a+b \sec (c+d x))^{8/3} \tan (c+d x)}{14 b d}+\frac {3 \int \sec (c+d x) (a+b \sec (c+d x))^{5/3} \left (a+\frac {11}{3} b \sec (c+d x)-2 a \sec ^2(c+d x)\right ) \, dx}{14 b} \\ & = -\frac {9 a (a+b \sec (c+d x))^{8/3} \tan (c+d x)}{77 b^2 d}+\frac {3 \sec (c+d x) (a+b \sec (c+d x))^{8/3} \tan (c+d x)}{14 b d}+\frac {9 \int \sec (c+d x) (a+b \sec (c+d x))^{5/3} \left (-\frac {5 a b}{3}+\frac {1}{9} \left (18 a^2+121 b^2\right ) \sec (c+d x)\right ) \, dx}{154 b^2} \\ & = \frac {3 \left (18 a^2+121 b^2\right ) (a+b \sec (c+d x))^{5/3} \tan (c+d x)}{1232 b^2 d}-\frac {9 a (a+b \sec (c+d x))^{8/3} \tan (c+d x)}{77 b^2 d}+\frac {3 \sec (c+d x) (a+b \sec (c+d x))^{8/3} \tan (c+d x)}{14 b d}+\frac {27 \int \sec (c+d x) (a+b \sec (c+d x))^{2/3} \left (-\frac {5}{27} b \left (6 a^2-121 b^2\right )+\frac {5}{27} a \left (18 a^2+97 b^2\right ) \sec (c+d x)\right ) \, dx}{1232 b^2} \\ & = \frac {3 a \left (18 a^2+97 b^2\right ) (a+b \sec (c+d x))^{2/3} \tan (c+d x)}{1232 b^2 d}+\frac {3 \left (18 a^2+121 b^2\right ) (a+b \sec (c+d x))^{5/3} \tan (c+d x)}{1232 b^2 d}-\frac {9 a (a+b \sec (c+d x))^{8/3} \tan (c+d x)}{77 b^2 d}+\frac {3 \sec (c+d x) (a+b \sec (c+d x))^{8/3} \tan (c+d x)}{14 b d}+\frac {81 \int \frac {\sec (c+d x) \left (\frac {5}{81} a b \left (6 a^2+799 b^2\right )+\frac {5}{81} \left (36 a^4+164 a^2 b^2+605 b^4\right ) \sec (c+d x)\right )}{\sqrt [3]{a+b \sec (c+d x)}} \, dx}{6160 b^2} \\ & = \frac {3 a \left (18 a^2+97 b^2\right ) (a+b \sec (c+d x))^{2/3} \tan (c+d x)}{1232 b^2 d}+\frac {3 \left (18 a^2+121 b^2\right ) (a+b \sec (c+d x))^{5/3} \tan (c+d x)}{1232 b^2 d}-\frac {9 a (a+b \sec (c+d x))^{8/3} \tan (c+d x)}{77 b^2 d}+\frac {3 \sec (c+d x) (a+b \sec (c+d x))^{8/3} \tan (c+d x)}{14 b d}-\frac {\left (a \left (18 a^4+79 a^2 b^2-97 b^4\right )\right ) \int \frac {\sec (c+d x)}{\sqrt [3]{a+b \sec (c+d x)}} \, dx}{616 b^3}+\frac {\left (36 a^4+164 a^2 b^2+605 b^4\right ) \int \sec (c+d x) (a+b \sec (c+d x))^{2/3} \, dx}{1232 b^3} \\ & = \frac {3 a \left (18 a^2+97 b^2\right ) (a+b \sec (c+d x))^{2/3} \tan (c+d x)}{1232 b^2 d}+\frac {3 \left (18 a^2+121 b^2\right ) (a+b \sec (c+d x))^{5/3} \tan (c+d x)}{1232 b^2 d}-\frac {9 a (a+b \sec (c+d x))^{8/3} \tan (c+d x)}{77 b^2 d}+\frac {3 \sec (c+d x) (a+b \sec (c+d x))^{8/3} \tan (c+d x)}{14 b d}+\frac {\left (a \left (18 a^4+79 a^2 b^2-97 b^4\right ) \tan (c+d x)\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x} \sqrt {1+x} \sqrt [3]{a+b x}} \, dx,x,\sec (c+d x)\right )}{616 b^3 d \sqrt {1-\sec (c+d x)} \sqrt {1+\sec (c+d x)}}-\frac {\left (\left (36 a^4+164 a^2 b^2+605 b^4\right ) \tan (c+d x)\right ) \text {Subst}\left (\int \frac {(a+b x)^{2/3}}{\sqrt {1-x} \sqrt {1+x}} \, dx,x,\sec (c+d x)\right )}{1232 b^3 d \sqrt {1-\sec (c+d x)} \sqrt {1+\sec (c+d x)}} \\ & = \frac {3 a \left (18 a^2+97 b^2\right ) (a+b \sec (c+d x))^{2/3} \tan (c+d x)}{1232 b^2 d}+\frac {3 \left (18 a^2+121 b^2\right ) (a+b \sec (c+d x))^{5/3} \tan (c+d x)}{1232 b^2 d}-\frac {9 a (a+b \sec (c+d x))^{8/3} \tan (c+d x)}{77 b^2 d}+\frac {3 \sec (c+d x) (a+b \sec (c+d x))^{8/3} \tan (c+d x)}{14 b d}-\frac {\left (\left (36 a^4+164 a^2 b^2+605 b^4\right ) (a+b \sec (c+d x))^{2/3} \tan (c+d x)\right ) \text {Subst}\left (\int \frac {\left (-\frac {a}{-a-b}-\frac {b x}{-a-b}\right )^{2/3}}{\sqrt {1-x} \sqrt {1+x}} \, dx,x,\sec (c+d x)\right )}{1232 b^3 d \sqrt {1-\sec (c+d x)} \sqrt {1+\sec (c+d x)} \left (-\frac {a+b \sec (c+d x)}{-a-b}\right )^{2/3}}+\frac {\left (a \left (18 a^4+79 a^2 b^2-97 b^4\right ) \sqrt [3]{-\frac {a+b \sec (c+d x)}{-a-b}} \tan (c+d x)\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x} \sqrt {1+x} \sqrt [3]{-\frac {a}{-a-b}-\frac {b x}{-a-b}}} \, dx,x,\sec (c+d x)\right )}{616 b^3 d \sqrt {1-\sec (c+d x)} \sqrt {1+\sec (c+d x)} \sqrt [3]{a+b \sec (c+d x)}} \\ & = \frac {3 a \left (18 a^2+97 b^2\right ) (a+b \sec (c+d x))^{2/3} \tan (c+d x)}{1232 b^2 d}+\frac {3 \left (18 a^2+121 b^2\right ) (a+b \sec (c+d x))^{5/3} \tan (c+d x)}{1232 b^2 d}-\frac {9 a (a+b \sec (c+d x))^{8/3} \tan (c+d x)}{77 b^2 d}+\frac {3 \sec (c+d x) (a+b \sec (c+d x))^{8/3} \tan (c+d x)}{14 b d}+\frac {\left (36 a^4+164 a^2 b^2+605 b^4\right ) \operatorname {AppellF1}\left (\frac {1}{2},\frac {1}{2},-\frac {2}{3},\frac {3}{2},\frac {1}{2} (1-\sec (c+d x)),\frac {b (1-\sec (c+d x))}{a+b}\right ) (a+b \sec (c+d x))^{2/3} \tan (c+d x)}{616 \sqrt {2} b^3 d \sqrt {1+\sec (c+d x)} \left (\frac {a+b \sec (c+d x)}{a+b}\right )^{2/3}}-\frac {a \left (18 a^4+79 a^2 b^2-97 b^4\right ) \operatorname {AppellF1}\left (\frac {1}{2},\frac {1}{2},\frac {1}{3},\frac {3}{2},\frac {1}{2} (1-\sec (c+d x)),\frac {b (1-\sec (c+d x))}{a+b}\right ) \sqrt [3]{\frac {a+b \sec (c+d x)}{a+b}} \tan (c+d x)}{308 \sqrt {2} b^3 d \sqrt {1+\sec (c+d x)} \sqrt [3]{a+b \sec (c+d x)}} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(28057\) vs. \(2(412)=824\).
Time = 45.80 (sec) , antiderivative size = 28057, normalized size of antiderivative = 68.10 \[ \int \sec ^4(c+d x) (a+b \sec (c+d x))^{5/3} \, dx=\text {Result too large to show} \]
[In]
[Out]
\[\int \sec \left (d x +c \right )^{4} \left (a +b \sec \left (d x +c \right )\right )^{\frac {5}{3}}d x\]
[In]
[Out]
\[ \int \sec ^4(c+d x) (a+b \sec (c+d x))^{5/3} \, dx=\int { {\left (b \sec \left (d x + c\right ) + a\right )}^{\frac {5}{3}} \sec \left (d x + c\right )^{4} \,d x } \]
[In]
[Out]
Timed out. \[ \int \sec ^4(c+d x) (a+b \sec (c+d x))^{5/3} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \sec ^4(c+d x) (a+b \sec (c+d x))^{5/3} \, dx=\int { {\left (b \sec \left (d x + c\right ) + a\right )}^{\frac {5}{3}} \sec \left (d x + c\right )^{4} \,d x } \]
[In]
[Out]
\[ \int \sec ^4(c+d x) (a+b \sec (c+d x))^{5/3} \, dx=\int { {\left (b \sec \left (d x + c\right ) + a\right )}^{\frac {5}{3}} \sec \left (d x + c\right )^{4} \,d x } \]
[In]
[Out]
Timed out. \[ \int \sec ^4(c+d x) (a+b \sec (c+d x))^{5/3} \, dx=\int \frac {{\left (a+\frac {b}{\cos \left (c+d\,x\right )}\right )}^{5/3}}{{\cos \left (c+d\,x\right )}^4} \,d x \]
[In]
[Out]